package com.mingqijia.gassafety.webserver.request.workorder;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: duanhongxiang
 * @Date: 2024/3/18 11:13
 */
@Data
public class SparkOrderStatusRequest {
    //燃气户号、组织编码、当前工单编号
    @ApiModelProperty(value = "燃气户号")
    @NotEmpty(message = "燃气户号不能为空")
    private String subsCode;

    @ApiModelProperty(value = "imei")
    @NotEmpty(message = "imei不能为空")
    @Pattern(regexp = "^\\d{15}", message = "设备号格式有误")
    private String imei;

    @ApiModelProperty(value = "工单编号")
    @NotEmpty(message = "工单编号不能为空")
    private String orderNo;

    @ApiModelProperty(value = "orgCode")
    @NotEmpty(message = "orgCode不能为空")
    private String orgCode;

    @ApiModelProperty(value = "工单类型 8：点火工单 9：安检单")
    private Integer orderType;
}
